package 装饰者设计模式;

public abstract class Status  implements HeroStatusBase{

    private HeroStatusBase hero;
    public Status(HeroStatusBase hero)
    {
        this.hero = hero;
    }

    @Override
    public void nowStatus() {
        hero.nowStatus();

    }

    @Override
    public int  nowHurt() {
        return hero.nowHurt();

    }
}
